home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
901_1000
/
DISK0961
/
DISK0961.ZIP
/
INVSORT.DOC
< prev
next >
Wrap
Text File
|
1987-10-11
|
19KB
|
654 lines
INVENTORY SORT
written by William T. Schrader Sr.
GOOSE LAKE SOFTWARE
P. O. Box 749
Lakeview, Or. 97630
COPYRIGHT:
Manual and software copyrighted (c) 1987, by William T.
Schrader Sr. All rights reserved. Parts of this software
were created using the QUICKBASIC (TM) compiler.
DISCLAIMER:
The author or distributor of this software shall not be held
responsible for its use. The user assumes all risk of its
use.
SHAREWARE
This program is distributed as user supported software.
A registration fee of $25.00 is requested, if the program is
going to be utilized. Please send to the above address.
All communication to Goose Lake Software regarding this
program should be directed to: Bill Schrader, Box 749,
Lakeview, Or. 97630. (503)947-4513
Users of this software are encouraged to re-distribute this
program, along with the accompaning files, to other potential
registered users. Use the DISKLABL.COM program to print disk
labels on an Epson compatible printer. Label results on other
printers may be erratic.
INTRODUCTION
Minimum equipment needs: IBM PC or compatible, 128K
memory, 1 disk drive, MS/DOS, PC/DOS ver 2.0 and up.
The inventory sort program is designed to handle
relatively small (up to 1000 part types) inventory lists, in
the easiest possible manner. Multiple lists may be kept, as
long as the limit of 1000 part types is observed. The
program will maintain 5 fields of information per part type
(part number, part name, quantity, location, and cost) and
will sort the list three different ways. It provides easy
update and deletion of part types, and a formatted printout
of the inventory list. A disk file is kept during data entry
so that data entry may be stopped and resumed at any time.
The current inventory list is kept in memory, which makes
the sort feature of the program extremely fast. The program
will sort alphabetically,numerically, and by location. This
program will be particularly useful to small business that
needs to keep an assortment of small parts (nuts and bolts in
labeled bins for example), and inventory them each year. The
sorted lists will allow easier access to the parts, as well as
a starting point for the next inventory.
INVSORT1 - A modification to the invsort program is included on
this disk. It works the same as described in the documentation,
except it allows the input of wholesale and retail cost values.
This version limits the part number to a 9 character string, and
the part name to 10 characters. To run this version of the program,
type INVSORT1.
PROGRAM DISKETTE
The inventory Sort Program Diskette is not copy
protected for the convenience of our users. It is a
machine language program and is self running from the MSDOS
system prompt. (No other support program is needed.) Prior
to starting the program, make a backup diskette as follows:
1. Format a new diskette using the system and volume
options.
A> FORMAT B:/S/V <ENTER>
After format is complete, a volume label will be
requested. Use: INVSORT <ENTER>
2. Copy the program diskette to this new INVSORT disk.
Remove the DOS diskette from drive a: and insert the program
diskette.
A> COPY A:*.* B: <ENTER>
Note: You could also copy any other files that are
necessary to make the disk self booting. (ei; autoexec.bat,
config.sys, ansi.sys, mode.exe, etc.)
Remove both disks from the computer and store the
furnished program disk in a safe place. Use the backup disk
you just made to run the program.
HARD DISK USERS
The program disk contains a program called INSTALL.BAT,
which will install the program on the hard disk for you, in a
sub-directory called INVSORT. Insert program disk in drive A.
C> A:INSTALL <ENTER> creates directory and copies files
C> CD \INVSORT <ENTER> changes to the invsort directory
C> INVSORT <ENTER> will start the program to run
PROGRAM EXECUTION
This program is friendly to the point that
everything is asked for prior to input. It has a main menu
which allows six choices. a menu selection is made by simply
pressing the appropriate key. (1,2,3,4,5, or any other key)
Have the backup program in the drive that it is going to run
from. Either A drive or C drive.
type A> INVSORT <ENTER> floppy disk users
or
C> INVSORT <ENTER> if using a hard disk
After the title and copyright notices, the screen will clear,
and the data drive will be asked for:
WHAT IS YOUR DATA DRIVE ? (A,B, or C) _
A <ENTER>
Enter an A if you have a single drive system, or if you
wish to keep your data list on the backup program disk. You
may remove the program disk at this time and substitute a
formatted data disk if you wish.
B <ENTER>
Enter a B if you have dual disk drives, and wish to
keep your data on a formatted data disk in drive B.
C <ENTER>
Hard disk users may keep the data in the same directory
as the program if they want to.
The main menu will now appear:
******** MENU ********
DATA INPUT = 1 CORRECTIONS = 4
SORT & PRINT = 2 SAVE SORT = 5
GET DATA = 3 OTHER KEY = END
1. DATA INPUT
The data input routine is the only method of entering
data into an inventory list. The list may be a new list (in
which case you have to assign a file name) or a list which
you previously started.
At the main menu, depress the 1 key and the computer will
clear the screen and display the following:
TODAYS DATE IS XX-XX-XX
FILE NAME TO RETRIEVE ? _
OLD FILE
Type in and enter the name of a file which exists, and
is in your data drive. The computer will retrieve that file.
During retrieval, the following will be displayed:
GETTING PART NUMBER XXXXXXX MEMORY XXXXX
When the file has been retrieved, the screen shows:
(file name) IN MEMORY
The screen will now clear and go into the input routine
as described below under NEW FILE, except the file # will be
the next available file number.
NEW FILE
Type in the name of a file you wish to create, and the
file will be opened and set up on the data disk. If you just
hit <enter> you will be asked for a file name to create.
File names may be up to 8 characters in length, plus a 3
character extension. Case is unimportant, as only upper case
is recognized. DO NOT USE SPACES IN A FILE NAME. USE THE
UNDERLINE (_) CHARACTER TO SIMULATE A TWO WORD NAME.
After the file has been opened on disk, the message:
(file name) IN MEMORY
will appear.
NOTE: The program disk contains a file #GE, which is a
sorted file. Use this file as practice to retrieve and add
to or update.
The screen will then show the following:
FILE # 1 FREE BYTE = XXXXX
PART NUMBER _
Enter a part number up to 10 characters in length. Any
combination of letters and numbers is acceptable.
NAME _
Enter a part name up to 15 characters in length. Any
combination of characters is acceptable.
LOCATION _
Three letters and/or numbers may be used.
QUANTITY _
The maximum quantity which may be entered is 9999. Only
numbers may be entered.
$ COST _
The maximum allowable cost is $99,999.99. Do not enter a
$ sign, it will be added by the computer.. Use a decimal
point (.) to denote cents. A whole number will be dollars
with no cents. Example:
1123 <ENTER> = $1123.00
11.23 <ENTER> = $11.23
The screen will display the data.
IS THIS DATA CORRECT ? (Y or N)
Y (yes) will repeat the process, except the file will be
file # 2>
N (no) will ignore all of the data you just entered and
repeat the process for file # 1.
NOTE: - The FREE BYTE message on the screen indicates how much
is left to use for the inventory list. Keep a close watch on this
when the numbeer bets small, soo that your inventory list will
fit into available memory.
SUGGESTION - Since the parts list is limited to approximately 1000
part types, you should consider ahead that if you are going to be
adding to the list, you need to leave some room, and divide the list
up a different way.
ei:
ENDING THE DATA INPUT SESSION
Enter a null string (see below) as a part number will
end the input session and go to the main menu.
PART NUMBER _ <ENTER> (simply press enter)
The total parts entered and their corresponding value
will be displayed prior to returning to the menu.
DEFINITION: A null string is nothing. It is not a space, or
a 0, or anything else, simply nothing. To enter a null
string, simply press enter before any other keys.
HINT: Press the NUMLOCK key to use the numeric keypad. The
numeric keypad will greatly increase the efficiency that
numbers can be entered.
SORT & PRINT
Selecting 2, the sort & print option from the main menu
will bring up the following menu:
1 = SORT PART NUMBERS IN ASCENDING ORDER
2 = SORT PART NAMES IN ALPHABETICAL ORDER
3 = SORT PARTS BY LOCATION
4 = PRINT LISTING
5 = RETURN TO MAIN MENU
1. Sorts the inventory list currently in memory by part
number in ascending order, then use 4 Print, to print the
list.
2. Sorts the inventory list currently in memory by part name
alphabetically, then use 4 Print, to print the list.
3. Sorts the inventory list currently in memory alpha-
numerically by location. This is useful as a listing from
which you can re-inventory, and know what to expect at each
location. Use 4 Print, to print this list.
4. This selection prints whatever list is currently in
memory, including your initial unsorted list to use for
back checking purposes. This selection shows:
SET PAPER TO TOP OF PAGE
PRESS ANY KEY WHEN READY
then:
SINGLE or DOUBLE SPACE (ENTER 1 or 2) ?
Entering a 1 prints 50 parts per page single space, and a 2
prints 25 parts per page double space.
5. Returns to main menu without doing anything.
NOTE: The sort process takes approximately 1 minute to sort
1000 parts. During the sort a PASS # and a Y number will be
displayed. This indicates what division of the list it is
sorting. When Y=1, it is on the last pass. The order of
sorting is as follows:
Numbers, Upper case letters, Lower case letters
Symbols may be intermixed depending on their ASCII code
GET DATA
The get data routine retrieves data from a previously
saved file. It would be used primarily to make CORRECTIONS,
or re-sort and reprint a listing. You may go into the data
input routine from the main menu without clearing the data
you retrieved.
The procedure is the same as described in the data input
routine.
The GET DATA routine (3 on the main menu) has
changed slightly. When it is selected, the files available
for retrieval on the data disk are displayed across the top
of the screen. These are files which were previously saved
with this program.
ALSO - If you have been working on a file which is in memory,
and you wish to start a new file without leaving the program
and restarting, use the GET DATA selection from the main
menu. At the point where "Enter file name to retrieve " is
asked for, enter the name of a new file. This will create a
new file and you can go to the INPUT DATA routine and start
at file #1.
CORRECTIONS
The corrections routine allows you to update, or delete
parts from the inventory list in memory. Prior to using this
option you must have retrieved a file either through the get
data or data input routines.
ENTER A 0 FOR FILE NUMBER TO TERMINATE CORRECTIONS !
FILE # FOR CORRECTION ? _
Enter any valid file # and the following will appear:
Screen shows formatted data.
You may now enter the correct data for that particular file.
Entering a null string will not change the original data in
the file. Only entering new data will update the file.
DELETING PARTS
To delete a part from the inventory list, enter a 0 for
quantity. Any part with a 0 quantity will be removed from
the list when the corrections routine is terminated.
TERMINATING CORRECTIONS
To terminate corrections, and return to the main menu,
enter a 0 when file # is asked for. The inventory list will
then be reevaluated, and all parts with 0 quantity will be
removed. This will take varying amounts of time depending on
how many parts are to be removed from the list.
SAVE SORT
The save sort routine is used to save an inventory list
that is currently in memory after it has been sorted. You
will be asked for a file name to save with. A file name is a
maximum of 8 characters long, plus a 3 character extension.
Some examples:
YAMA_INP.DAT An input data file, used to check against
your input data list.
#GE A general purpose file, no extension needed
TIRES.ALF An alphabetically sorted file
HARDWRE.DA1 A file generated with invsort1
END
This will end the program execution and return to the
system prompt.
ALWAYS USE THIS TO END YOUR SESSION, SO THAT ALL FILES WILL
BE PROPERLY CLOSED. IMPROPERLY CLOSED FILE MAY BE SCRAMBLED
THE NEXT TIME YOU USE THEM.
ERRORS
Sometimes errors can occur because of various reasons. No
data disk in the data drive for example. When an error
occurs, the screen will display:
USE <CTRL> C TO RETURN TO SYSTEM
FILE NAME TO CREATE ? _
Hold down the <CTRL> key and press the C, key and you will
return to the system prompt. Correct the error and then
restart the program. All data in memory will be destroyed,
but any data that is on disk will be intact, so you will need
to get data to continue on.
Thank you for using the INVSORT program. This is
a registration form you may use. Please fill out
this form, and send it along with $25.00 to
GOOSE LAKE SOFTWARE
P.O. BOX 749
LAKEVIEW, OR. 97630
In return you will recieve a near letter quality
copy of the documentation, software support services,
and notification of future upgrades.
Thank you,
Bill Schrader
NAME: __________________________
ADDRESS:________________________
CITY:____________________ STATE:____ ZIP:__________
PHONE:___________________
Your computer type: __________________________________
memory: __________________________________
drive types: __________________________________
List any improvements, or changes you would like to have:
INVENTORY INPUT DATA SHEET
File Name_________________
(10) (15) (3) (4) (8)
Part Number Part Name Loc Qty $ Cost
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________
| | | |
______________|___________________________|_____|_____|______________